findById

open override fun findById(userId: String): User?

Finds a user by their ID.

Return

the user entity if found, otherwise null

Parameters

userId

the unique identifier of the user